package com.ljh.lottery.pojo.request;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author: Themberfue
 * @date: 2025/4/10 19:44
 * @description:
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserPasswordLoginRequest extends UserLoginRequest{
    /**
     * 手机或邮箱
     */
    @NotBlank(message = "手机或邮箱不能为空！")
    private String loginName;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空！")
    private String password;
}
